<!DOCTYPE html>
<html class="ng-scope" ng-app="portalV4">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title state-data-title="">椰子网系统后台</title>
  <meta name="description" content="">
  <meta name="viewport" content="width=device-width">
  <link rel="stylesheet" href="<?php echo site_url('css/admin/login.css');?>">
  <script src="<?php echo site_url('js/jquery-1.11.0.min.js');?>" type="text/javascript" language="javascript"></script>
</head>
<body>
<div class="login">
	<div class="Lobox">
    	<div class="Lobox_top"></div>
        <div class="Lobox_logo"><img src="<?php echo site_url('img/admin/logo_login.png');?>" /></div>
        <div class="LoboxB">
        <form action="<?php echo site_url('admin/login');?>" method="post" onSubmit="return checkForm(this)" target="postIframe">
        	<ul>
            	<li class="LoBt01">账号</li>
                <li class="Lo_kuang"><INPUT class="texsearch" name="username" id="username" type="text" onblur="if(!this.value)this.value='请输入账号';return true;" onfocus="if(this.value=='请输入账号')this.value='';return true;" value="请输入账号" ></li>
                <li class="LoBt01">密码</li>
                <li class="Lo_kuang2"><INPUT class="texsearch" name="password" id="password" type="password" onblur="if(!this.value)this.value='请输入密码';return true;" onfocus="if(this.value=='请输入密码')this.value='';return true;" value="请输入密码"></li>
                <li class="Lo_text">
                	<div class="ReboxN">
                		<div class="Rebox"><input type="checkbox" value="" /></div>
                    	<div>Remember</div>
                    </div>
                </li>
                <li></li>
            </ul>
			<div class="enter_mir" style="background-color:#014C94"><input type="submit" value="登录" /></div>
        </form>
        </div>
        <div class="clear"></div>
        
    </div>
</div>
<script>
	function checkForm(e)
	{
		if($('#password').val() == '请输入密码') $('#password').val('');
		if($('#username').val() == '请输入账号') $('#username').val('');
		if($('#password').val() == '') 
		{
			alert('请输入密码!');
			return false;
		}
		if($('#username').val() == '') 
		{
			alert('请输入账号!');
			return false;
		}
		return true;
	}
</script>
<iframe id="postIframe" name="postIframe" height="0" width="0" style="display:none;" src=""></iframe>
</body>
</html>